import { WeaTools } from 'ecCom';

//获取配置信息
export const getConfig = (params) => {
	return WeaTools.callApi('/api/workflow/mobilesetting/getConfig', 'POST', params);
}

//获取流程中心应用内容设置以及流程来源dialog信息
export const getMobileCenterConfig = (params) => {
	return WeaTools.callApi('/api/workflow/mobilesetting/getMobileCenterConfig', 'POST', params);
}

//保存配置信息
export const doSaveConfig = (params) => {
	return WeaTools.callApi('/api/workflow/mobilesetting/doSaveConfig', 'POST', params);
}

//保存流程中心应用内容设置以及流程来源dialog信息
export const doSaveMobileCenterConfig = (params) => {
	return WeaTools.callApi('/api/workflow/mobilesetting/doSaveMobileCenterConfig', 'POST', params);
}

//删除流程中心应用内容设置指定tab
export const doDelMobileCenterConfig = (params) => {
	return WeaTools.callApi('/api/workflow/mobilesetting/doDelMobileCenterConfig', 'POST', params);
}